home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
src
/
lib
/
c
/
db
/
RCS
/
dbInt.h,v
< prev
next >
Wrap
Text File
|
1989-01-13
|
2KB
|
129 lines
head 1.5;
branch ;
access ;
symbols ;
locks ; strict;
comment @ * @;
1.5
date 89.01.13.11.41.50; author douglis; state Exp;
branches ;
next 1.4;
1.4
date 89.01.05.11.54.55; author douglis; state Exp;
branches ;
next 1.3;
1.3
date 88.09.22.22.12.07; author douglis; state Exp;
branches ;
next 1.2;
1.2
date 88.09.13.16.49.25; author douglis; state Exp;
branches ;
next 1.1;
1.1
date 88.08.14.15.09.27; author douglis; state Exp;
branches ;
next ;
desc
@internal declarations for the db routines.
@
1.5
log
@a couple of includes.
@
text
@/*
* dbInt.h --
*
* Declarations of constants and variables shared by the dataBase
* routines.
*
* Copyright 1988 Regents of the University of California
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies. The University of California
* makes no representations about the suitability of this
* software for any purpose. It is provided "as is" without
* express or implied warranty.
*
* $DBINT: proto.h,v 1.2 88/03/11 08:39:40 ouster Exp $ SPRITE (Berkeley)
*/
#ifndef _DBINT
#define _DBINT
#include <syslog.h>
#include <sys/file.h>
#include <sys/errno.h>
#include <stdio.h>
#include <stdlib.h>
/*
* All database files are created with the following mode [for now, at
* least].
*/
#define FILE_MODE 0664
extern int errno;
extern long lseek();
extern char *strerror();
#endif _DBINT
@
1.4
log
@removed constants related to polling.
@
text
@d25 2
@
1.3
log
@Changed some arg. orders, var. names, and Db_LockDesc to DbLockDesc.
@
text
@a31 9
/*
* Constants for polling a lock:
* NUM_TRIES - number of iterations before giving up
* DELAY - initial delay, in seconds, doubles on each iteration
*/
#define NUM_TRIES 3
#define DELAY 1
@
1.2
log
@fixed some lint.
@
text
@d43 1
@
1.1
log
@Initial revision
@
text
@d42 1
@